/* model--> view  
var view =new EmployeeModel();

view.ID=model.ID;
view.Title=model.Title;
view.FirstName=model.FirstName;
view.Middlename=model.Middlename;
view.LastName=model.LastName;
view.DOB=model.DOB;
view.Age=model.Age;
view.IsDOBCulculated=model.IsDOBCulculated;
view.GenderCode=model.GenderCode;
view.DesignationId=model.DesignationId;
view.DepartmentId=model.DepartmentId;
view.Location=model.Location;
view.EmployeeType=model.EmployeeType;
view.MaritalStatusCode=model.MaritalStatusCode;
view.BloodGpId=model.BloodGpId;
view.ReligionCode=model.ReligionCode;
view.NationalityCode=model.NationalityCode;
view.HomeAddress=model.HomeAddress;
view.HomeCity=model.HomeCity;
view.HomeStateCode=model.HomeStateCode;
view.HomeStateOther=model.HomeStateOther;
view.HomeCountryCode=model.HomeCountryCode;
view.HomePinCode=model.HomePinCode;
view.HomePhone=model.HomePhone;
view.WorkAddress=model.WorkAddress;
view.WorkCity=model.WorkCity;
view.WorkStateCode=model.WorkStateCode;
view.WorkStateOther=model.WorkStateOther;
view.WorkCountryCode=model.WorkCountryCode;
view.WorkPinCode=model.WorkPinCode;
view.WorkPhone=model.WorkPhone;
view.Mobile=model.Mobile;
view.Email=model.Email;
view.IsConsultant=model.IsConsultant;
view.Active=model.Active;
view.Photograph=model.Photograph;
view.TxnCrUser=model.TxnCrUser;
view.TxnCrDate=model.TxnCrDate;
view.TxnUser=model.TxnUser;
view.Txndate=model.Txndate;
return view;

*/

/* view--> model
var model =new Employee();

model.ID=view.ID;
model.Title=view.Title;
model.FirstName=view.FirstName;
model.Middlename=view.Middlename;
model.LastName=view.LastName;
model.DOB=view.DOB;
model.Age=view.Age;
model.IsDOBCulculated=view.IsDOBCulculated;
model.GenderCode=view.GenderCode;
model.DesignationId=view.DesignationId;
model.DepartmentId=view.DepartmentId;
model.Location=view.Location;
model.EmployeeType=view.EmployeeType;
model.MaritalStatusCode=view.MaritalStatusCode;
model.BloodGpId=view.BloodGpId;
model.ReligionCode=view.ReligionCode;
model.NationalityCode=view.NationalityCode;
model.HomeAddress=view.HomeAddress;
model.HomeCity=view.HomeCity;
model.HomeStateCode=view.HomeStateCode;
model.HomeStateOther=view.HomeStateOther;
model.HomeCountryCode=view.HomeCountryCode;
model.HomePinCode=view.HomePinCode;
model.HomePhone=view.HomePhone;
model.WorkAddress=view.WorkAddress;
model.WorkCity=view.WorkCity;
model.WorkStateCode=view.WorkStateCode;
model.WorkStateOther=view.WorkStateOther;
model.WorkCountryCode=view.WorkCountryCode;
model.WorkPinCode=view.WorkPinCode;
model.WorkPhone=view.WorkPhone;
model.Mobile=view.Mobile;
model.Email=view.Email;
model.IsConsultant=view.IsConsultant;
model.Active=view.Active;
model.Photograph=view.Photograph;
model.TxnCrUser=view.TxnCrUser;
model.TxnCrDate=view.TxnCrDate;
model.TxnUser=view.TxnUser;
model.Txndate=view.Txndate;
return model;
*/
